/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.domain;

import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import com.shanhesoft.java.common.core.annotation.DictType;
import com.shanhesoft.java.common.persistence.domain.IdEntity;

import javax.validation.constraints.Size;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.*;

/**
 * 判题结果码表Entity 判题结果码表
 * @author admin
 * @version 2020-09-26 20:35:47
 */
@TableName(value = "oj_judge_results")
@Data @ToString @NoArgsConstructor @AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class OjJudgeResults extends IdEntity<OjJudgeResults> {

	private static final long serialVersionUID = 1L;
	/** F_JUDGERESULTSLUG judge_result_slug  :  评测结果的英文唯一缩写 */
	public static final String F_JUDGERESULTSLUG = "judgeResultSlug";
	/** F_JUDGERESULTNAME judge_result_name  :  评测结果的名称 */
	public static final String F_JUDGERESULTNAME = "judgeResultName";


	/** judgeResultSlug 评测结果的英文唯一缩写 */@NotBlank @Size(max=4)
	@TableField("judge_result_slug")
	private String judgeResultSlug;
	/** judgeResultName 评测结果的名称 */@NotBlank @Size(max=32)
	@TableField("judge_result_name")
	private String judgeResultName;


	@Override
    public boolean equals(Object o) {
        return super.equals(o);
    }
    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
